/* 全局样式重置 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #f5f7fa;
    overflow: hidden;
    background-image: url('background-main.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}


/* 主容器 */

.login-page {
    width: 100vw;
    height: 100vh;
    display: flex;
    position: relative;
}


/* 左侧装饰区域 */

.left-decoration {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.background-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-image {
    width: 80%;
    object-fit: cover;
}

.decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}


/* 装饰元素定位 */

.decorative-group-31 {
    position: absolute;
    top: 10%;
    left: 15%;
    width: 200px;
    height: auto;
    opacity: 0.9;
}

.decorative-group-30 {
    position: absolute;
    top: 25%;
    right: 20%;
    width: 150px;
    height: auto;
    opacity: 0.8;
}

.decorative-group-29 {
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 180px;
    height: auto;
    opacity: 0.7;
}

.decorative-group-20,
.decorative-group-19,
.decorative-group-22,
.decorative-group-24,
.decorative-group-23,
.decorative-group-28 {
    position: absolute;
    opacity: 0.6;
    width: 80px;
    height: auto;
}

.decorative-group-20 {
    top: 40%;
    left: 30%;
}

.decorative-group-19 {
    top: 60%;
    right: 25%;
}

.decorative-group-22 {
    bottom: 30%;
    right: 15%;
}

.decorative-group-24 {
    top: 15%;
    left: 45%;
}

.decorative-group-23 {
    bottom: 40%;
    left: 35%;
}

.decorative-group-28 {
    top: 50%;
    left: 20%;
}


/* 右侧登录表单区域 */

.right-login-area {
    width: 720px;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Rectangle 82 - 半透明白色背景 */

.rectangle-82 {
    position: absolute;
    top: 0;
    left: 0;
    width: 720px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
}


/* 登录内容容器 */

.login-content {
    position: relative;
    z-index: 2;
    width: 500px;
    padding: 40px;
    text-align: center;
}


/* 标题区域 */

.title-section {
    margin-bottom: 40px;
}

.main-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 14px;
    color: #999;
    font-weight: 400;
    line-height: 1.5;
}


/* 登录方式选项卡 */

.login-tabs {
    display: flex;
    margin-bottom: 40px;
    border-bottom: 1px solid #e8e8e8;
}

.tab-button {
    flex: 1;
    padding: 15px 0;
    background: none;
    border: none;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: #4285f4;
    font-weight: 500;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #4285f4;
    border-radius: 2px;
}


/* 登录表单 */

.login-form {
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
}

.input-icon {
    padding: 0 15px;
    color: #999;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.form-input {
    flex: 1;
    padding: 15px 10px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    background: transparent;
}

.form-input::placeholder {
    color: #bbb;
}

.eye-icon {
    cursor: pointer;
    transition: color 0.3s ease;
}

.eye-icon:hover {
    color: #4285f4;
}


/* 验证码组 */

.captcha-group {
    display: flex;
    gap: 15px;
}

.captcha-input {
    flex: 1;
}

.captcha-code {
    width: 120px;
    height: 50px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.captcha-code:hover {
    border-color: #4285f4;
}

.captcha-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
    text-decoration: line-through;
    text-decoration-color: #666;
}


/* 表单选项 */

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #666;
}

.remember-me input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #4285f4;
    border-radius: 3px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4285f4;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text {
    user-select: none;
}

.forgot-password {
    color: #4285f4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #3367d6;
}


/* 登录按钮 */

.login-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4285f4 0%, #3367d6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.login-button:hover {
    background: linear-gradient(135deg, #3367d6 0%, #2851a3 100%);
    box-shadow: 0 6px 16px rgba(66, 133, 244, 0.4);
    transform: translateY(-1px);
}

.login-button:active {
    transform: translateY(0);
}


/* 第三方登录 */

.third-party-login {
    margin-top: 40px;
}

.divider {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: #e8e8e8;
}

.divider-text {
    padding: 0 20px;
    color: #999;
    font-size: 14px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    width: 51px;
    height: 52px;
    border-radius: 50%;
    background: #EBF6FF;
    border: 1px solid #EBF6FF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: #4285f4;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.2);
    transform: translateY(-1px);
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}